/**
 * 实时视频播放地址
 */
export const VUE_APP_IH_URL = process.env.VUE_APP_IH_URL + '/ih/console/videomeet_demoCR.html?id='

/**
 * 根据小组类型编码获取小组图标
 */
export function getGroupIcon(groupTypeNo) {
  var imgUrl
  switch (groupTypeNo) {
    case '001-000': // 工作领导人及跟班干部
      imgUrl = require('@/assets/map-ico/group-001-000.png')
      break
    case '003-000': // 驻站及要令
      imgUrl = require('@/assets/map-ico/group-003-000.png')
      break
    case '004-000': // 地线组
      imgUrl = require('@/assets/map-ico/group-004-000.png')
      break
    case '007-001': // 作业车组
      imgUrl = require('@/assets/map-ico/group-007-001.png')
      break
    case '007-002': // 车梯组
      imgUrl = require('@/assets/map-ico/group-007-002.png')
      break
    case '007-005': // 测量组
      imgUrl = require('@/assets/map-ico/group-007-005.png')
      break
    case '007-006': // 巡视组
      imgUrl = require('@/assets/map-ico/group-007-006.png')
      break
    case '007-007': // 人工组
      imgUrl = require('@/assets/map-ico/group-007-007.png')
      break
    case '007-010': // 待定组
      imgUrl = require('@/assets/map-ico/group-007-010.png')
      break
    case '007-011': // 配合施工组
      imgUrl = require('@/assets/map-ico/group-007-011.png')
      break
    default:
      imgUrl = require('@/assets/map-ico/group-001-000.png')
  }
  return imgUrl
}
